package duck.manager;

import java.util.List;

import pojo.Department;

public interface DepartmentManager {
	public String viewAll()throws Exception;
	
	public String viewById(String id)throws Exception;
	
	public String viewAllOnce()throws Exception;
	
	public String viewUsersByDpid(String id)throws Exception;
	
	public List<Department> viewAllDeparts()throws Exception;
	
	public int getAllUsers(int dpid)throws Exception;
}
